package com.hdoit.kylin.logical.user.model;

import java.util.Date;

import javax.persistence.Column;

import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.AuthorityEmployee;

/**
 * @author luozhicheng
 * @email
 * @createtime 2017年07月18日 20:01:50
 * @comment
 */
@Entity
@Table(name = "linker_student")
public class Student extends AuthorityEmployee {

	// 入学时间
	@Column(name = "admissionDate")
	private Date admissionDate;
	// 毕业时间
	@Column(name = "graduationDate")
	private Date graduationDate;
	// 描述
	@Column(name = "comments")
	private String comments;
	// 隶属课题组
	@Column(name = "groupId")
	private String groupId;
	// 学号
	@Column(name = "studentId")
	private String studentId;

	// 姓名
	@Column(name = "studentName")
	private String studentName;

	// 导师
	@Column(name = "teacherId")
	private String teacherId;

	@Column(name="graduateMark")
	private int graduateMark;
	
	public int getGraduateMark() {
		return graduateMark;
	}

	public void setGraduateMark(int graduateMark) {
		this.graduateMark = graduateMark;
	}

	// 头像地址
	@Column
	private String avatar;

	@Transient
	private String employeeIds;

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getEmployeeIds() {
		return employeeIds;
	}

	public void setEmployeeIds(String employeeIds) {
		this.employeeIds = employeeIds;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public Date getAdmissionDate() {
		return this.admissionDate;
	}

	public void setAdmissionDate(Date admissionDate) {
		this.admissionDate = admissionDate;
	}

	public Date getGraduationDate() {
		return this.graduationDate;
	}

	public void setGraduationDate(Date graduationDate) {
		this.graduationDate = graduationDate;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;

	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

}
